package com.lulalei.dbviewer.commons.factory.GenerateCodeFactory;

import com.lulalei.dbviewer.commons.bean.GenerateBean;
import com.lulalei.dbviewer.commons.exception.CustomizeException;

public interface GenerateCodeFactory {

    /**
     * 生成所有的相关文件
     */
    void generateAll(GenerateBean generateBean) throws CustomizeException;

    /**
     * 生成javaBean
     */
    void generateBean(GenerateBean generateBean) throws CustomizeException;

    /**
     * 生成Dao
     */
    void generateDao(GenerateBean generateBean) throws CustomizeException;

    /**
     * 生成xml
     */
    void generateXml(GenerateBean generateBean) throws CustomizeException;
}
